package com.zkthink.ceres.promotion.controller;

import com.zkthink.ceres.promotion.entity.SalesLevel;
import com.zkthink.ceres.promotion.dto.SalesLevelSaveDTO;
import com.zkthink.ceres.promotion.dto.SalesLevelUpdateDTO;
import com.zkthink.ceres.promotion.dto.SalesLevelPageDTO;
import com.zkthink.ceres.promotion.service.SalesLevelService;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import com.zkthink.base.controller.SuperController;
import com.zkthink.base.R;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import com.zkthink.security.annotation.PreAuth;
import org.springframework.web.bind.annotation.RestController;


/**
 * <p>
 * 前端控制器
 * 分销员
 * </p>
 *
 * @author kellen
 * @date 2020-08-22
 */
@Slf4j
@Validated
@RestController
@RequestMapping("/salesLevel")
@Api(value = "分销员等级管理", tags = "分销员等级管理")
//@PreAuth(replace = "salesLevel:")
public class SalesLevelController extends SuperController<SalesLevelService, Long, SalesLevel, SalesLevelPageDTO, SalesLevelSaveDTO, SalesLevelUpdateDTO> {



}
